package com.hanson.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hanson.entity.IndexNavBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IndexNavBeanMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(IndexNavBean record);

    IndexNavBean selectByPrimaryKey(Integer id);

    List<IndexNavBean> selectAll();

    int updateByPrimaryKey(IndexNavBean record);

    List<IndexNavBean> listIndexNavs(Page<IndexNavBean> page, @Param("indexNavBean") IndexNavBean indexNavBean);
}